//
//  HomePageCommentView.h
//  ShowYork
//
//  Created by hxh on 2020/11/19.
//  Copyright © 2020 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomePageDetailViewController.h"

// 分享平台
typedef NS_ENUM(NSInteger, XHCommentType){
    XHCommentTypeComment = 0,
    XHCommentTypeReply,
};

@protocol HomePageCommentViewDelegate <NSObject>
@optional
- (void)getCommentPersonListWithKey:(NSString *)keyword;
- (void)loadMorePersonListWithKey:(NSString *)keyword;
- (void)dismissCommentView;
@end

@interface HomePageCommentView : UIView

- (instancetype)initWithPlatformId:(NSNumber *)platformId platformType:(XHPageDetailPlatformType)type showCommentId:(NSNumber *)commentId showReplyId:(NSNumber *)replyId;

- (void)showBindVC:(RPBaseViewController *)bindVC delegate:(id<HomePageCommentViewDelegate>)delegate;

- (void)refreshUsers:(NSMutableArray *)users;

- (void)updateRefreshFooterState;



@end
